﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseEpub
{
    /// <summary>
    /// 目录信息
    /// </summary>
    public class SectionBaseInfo
    {
        /// <summary>
        /// 目录id(这里的id不是数据库id)
        /// </summary>
        public Int64 SecId { set; get; }

        /// <summary>
        /// 父级id（0说明没有父级）
        /// </summary>
        public Int64 ParentId { set; get; }

        /// <summary>
        /// 目录名称
        /// </summary>
        public string Name { set; get; }

        /// <summary>
        /// 同级别排序
        /// </summary>
        public short OrderBy { set; get; }

        /// <summary>
        /// 目录的整体顺序
        /// </summary>
        public short Sort { set; get; }

        /// <summary>
        /// 级别
        /// </summary>
        public short Grade { set; get; }

        /// <summary>
        /// 目录的最终父节点
        /// </summary>
        public Int64 FinalParentId { set; get; }

        public PageContentInfo PageContentInfo { set; get; }
    }
}
